import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ObserversModule } from '@angular/cdk/observers';
import { PortalModule } from '@angular/cdk/portal';
import { IconModule } from '../icon/api';
import { OverlaysModule } from '../core/api';
import { TooltipModule } from '../tooltip/api';
import { OverflowModule } from '../overflow/overflow.module';
import { EmptyModule } from '../empty/empty.module';
import { DropdownComponent, DropdownSubmenuComponent } from './dropdown.component';
import { DropdownDirective } from './dropdown.directive';

@NgModule({
  declarations: [DropdownComponent, DropdownSubmenuComponent, DropdownDirective],
  imports: [
    CommonModule,
    ObserversModule,
    IconModule,
    PortalModule,
    OverlaysModule,
    TooltipModule,
    OverflowModule,
    EmptyModule,
  ],
  exports: [DropdownComponent, DropdownSubmenuComponent, DropdownDirective],
})
export class DropdownModule {}
